import { PORT1 } from "@/api/config/servicePort";

import http from '@/api'

export const loginApi = (data) => {
    return http.post(`${PORT1}/login`, data)
}

// * 获取按钮权限
export const getAuthorButtons = () => {
	return http.get(`${PORT1}/auth/buttons`);
};

// * 获取菜单列表
export const getMenuList = () => {
	return http.get(`${PORT1}/menu/list`);
};